Most likely. Breastfeeding does not affect the vaccine, and, in most cases, vaccines are not harmful to your breastmilk. However, vaccines for smallpox and yellow fever can be passed through breastmilk. Avoid these vaccinations if possible while breastfeeding and talk to your doctor.